#!/bin/bash

PROGRAM=${1}
RENODIR="/home/nucave/workdir/lattice/RENORMALIZATION/reno/"
RENODIR_s="\/home\/nucave\/workdir\/lattice\/RENORMALIZATION\/reno\/"
WORKDIR="NF4/Z2F/"
WORKDIR_s="NF4\/Z2F\/"

sed  "s/__RENODIR__/$RENODIR_s/g;s/__WORKDIR__/$WORKDIR_s/g;s/__PROGRAM__/$PROGRAM/g" root_exe_template > $RENODIR/$WORKDIR/EXECUTABLES/$PROGRAM 

